<template>
    <div class="balance-info-container">
        <div class="balance-info-box acea-row row-column">
            <div class="balance-info-item van-hairline--bottom" v-for="n in 10" :key="n">
                <div class="top-item acea-row row-middle row-between">
                    <div>华西建筑工地</div>
                    <div v-if="true" class="add">+200.00</div>
                    <div v-else class="min">-285.00</div>
                </div>
                <div class="bottom-item acea-row row-middle row-between">
                    <div>2020-01-23 15:02:23</div>
                    <div>6000.00</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "BalanceInfo",
        data() {
            return {}
        }
    }
</script>

<style scoped lang="scss">
    .balance-info-container{
        flex: 1;
        overflow-y: auto;
        .balance-info-box{
            width:345px;
            background:rgba(255,255,255,1);
            border-radius:8px;
            margin: 15px auto;
            .balance-info-item{
                padding: 0 20px;
                height: 70px;
                .top-item{
                    font-size:16px;
                    font-weight:500;
                    margin-top: 15px;
                    .add{
                        color: #0DCDB5;
                    }
                    .min{
                        color: #FF8D51;
                    }
                }
                .bottom-item{
                    font-size:12px;
                    font-weight:400;
                    color: #A3A5B1;
                    margin-top: 5px;
                }
            }
        }
    }
</style>
